import { createApp } from 'vue';
import { createPinia } from 'pinia';
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';

import App from './App.vue';
import router from './router';
import piniaPlugin from './stores/piniaPlugin';
import i18n from '@/i18n/index';

import './font/iconfont.css';
import './styles/main.scss';

const app = createApp(App);

const store = createPinia();
store.use(piniaPlugin);
app.use(store);
app.use(router);
app.use(Antd);
app.use(i18n);

app.mount('#app');
